﻿/// ****************************************************************************
/// Author:	        Robin Zhu
/// Create Date:	2013-10-22
/// Purpose: 		用户使用错误的密码登录的日志
/// ****************************************************************************
/// Modify By		Date			Remark
/// ****************************************************************************
///
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RB.Web.Security
{
    /// <summary>
    /// 用户使用错误的密码登录的日志
    /// </summary>
    [RB.DataAccess.Attributes.QueryName("UserPasswordAttempLog")]
    [RB.DataAccess.Attributes.TableName("UserPasswordAttempLog")]
    public class UserPasswordAttempLog
    {
        [System.ComponentModel.DataAnnotations.StringLengthAttribute(20)]
        public string AppCode { get; set; }

        public System.Guid UserId { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(50)]
        public string UserName { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(30)]
        public string Password { get; set; }

        public DateTime? LoginTime { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(16)]
        public string IPAddress { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(100)]
        public string HttpForworded { get; set; }

        public bool? IsStaff { get; set; }

    }


}
